package online.longzipeng.cinemasys.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

/**
 * @author lzp
 * @date 2021/4/10 10:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "订单头修改对象",description = "请求参数类")
public class OrderHeadUpdateVO {

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态",example = "1",required = false)
    @Min(value = 0,message = "必须为大于0的数字")
    private Integer status;

    /**
     * 外键_用户id
     */
    @ApiModelProperty(value = "外键_用户id",example = "1",required = false)
    @Min(value = 0,message = "必须为大于0的数字")
    private Long userId;
}
